/*
 * LogFactoryAppender.c
 *
 *  Created on: 20.09.2011
 *      Author: sili
 */

#include "LogFactoryAppender.h"

void LogFactoryAppender::append(const spi::LoggingEventPtr& event, log4cxx::helpers::Pool& p){
	LogString test =  event->getMessage();
	Controller::getInstance()->getLogFactory()->newLogMessage(error, test.c_str());
}

LogFactoryAppender::LogFactoryAppender(){
}


LogFactoryAppender::~LogFactoryAppender(){
}

helpers::Class LogFactoryAppender::getClass(){
 return &this;
}
